package com.jry.modules.monitor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import de.codecentric.boot.admin.server.config.EnableAdminServer;

/**
 * 监控中心
 *
 * @author zhangsuhang
 */
@EnableAdminServer
@SpringBootApplication
public class JryMonitorApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(JryMonitorApplication.class, args);
        System.out.println("~~~监控中心启动成功~~~  \n" +
              "    _                                                       _   _                  \n"
            + "   (_)                                                     (_) | |                 \n"
            + "    _   _ __   _   _   ______   _ __ ___     ___    _ __    _  | |_    ___    _ __ \n"
            + "   | | | '__| | | | | |______| | '_ ` _ \\   / _ \\  | '_ \\  | | | __|  / _ \\  | '__|\n"
            + "   | | | |    | |_| |          | | | | | | | (_) | | | | | | | | |_  | (_) | | |   \n"
            + "   | | |_|     \\__, |          |_| |_| |_|  \\___/  |_| |_| |_|  \\__|  \\___/  |_|   \n"
            + "  _/ |          __/ |                                                              \n"
            + " |__/          |___/       ");
    }
}
